﻿using System.Windows.Controls;
using System.Windows.Controls.Primitives;

namespace AppToolkit.WPF.MVVM
{
    /// <summary>
    /// Interface via which <see cref="MultiSelectCollectionView&lt;T&gt;"/> can be attached to a <see cref="Control"/>.
    /// </summary>
    public interface IMultiSelectCollectionView
    {
        /// <summary>
        /// Attach to control.
        /// </summary>
        /// <param name="selector"></param>
        void AddControl(Selector selector);

        /// <summary>
        /// Detach from Control.
        /// </summary>
        /// <param name="selector"></param>
        void RemoveControl(Selector selector);
    }
}
